using UnityEngine;
using System.Collections;

public delegate void StateMachineDelegate();

public class States
{
	string _name = null;
	int _code = -1;
	public StateMachineDelegate init = null;
	public StateMachineDelegate update = null;
	public StateMachineDelegate finish = null;	

	public States( string _name, int _code )
	{
		this._name = _name;
		this._code = _code;
	}
			
	public string name
	{
		get{ return this._name; }
	}
	
	public int code
	{
		get{ return this._code; }
	}
}

